package com.ruoyi.article.mapper;

import com.ruoyi.article.entity.ArticleVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author hlf
 * @createTime 2025/2/11 10:52
 * @description
 */
@Mapper
public interface ArticleMapper {

    List<ArticleVo> getAllArticle();

    void add(ArticleVo article);

    void updateArticlePrice(ArticleVo article);

    List<ArticleVo> qpsTest(ArticleVo article);


    ArticleVo getById(ArticleVo articleVo);

    void updateStockIPrice(ArticleVo article);
}
